/**   
 * Copyright © 2021 郑心怡. All rights reserved.
 * 
 * @Title:UserInfoVO.java 
 * @Prject: com.interesting.examsystem.user.model
 * @Package: com.interesting.examsystem.user.model
 * @author: ZhengXinyi   
 * @date: 2021-07-24
 * @version: V1.0   
 */
package com.interesting.examsystem.user.model;

import javax.validation.constraints.Size;
import com.interesting.examsystem.common.core.model.BaseVO;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.interesting.examsystem.role.model.RoleVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @ClassName: UserInfoVO
 * @Description:  展示对象
 * @author: ZhengXinyi 
 * @date: 2021-07-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="UserInfoVO展示对象", description="")
public class UserInfoVO extends BaseVO {

    private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "id")
    private String id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "别名")
    private String aliasName;
    @ApiModelProperty(value = "账号是否可用。默认为1（可用）")
    private Boolean enabled;
    @ApiModelProperty(value = "是否过期。默认为1（没有过期）")
    private Boolean notExpired;
    @ApiModelProperty(value = "账号是否锁定。默认为1（没有锁定）")
    private Boolean accountNotLocked;
    @ApiModelProperty(value = "证书（密码）是否过期。默认为1（没有过期）")
    private Boolean credentialsNotExpired;
    @ApiModelProperty(value = "上一次登录时间")
    private Date lastLoginTime;
    @ApiModelProperty(value = "排序")
    private Integer sortNumber;
    @ApiModelProperty(value = "角色列表")
    private List<String> roles;


}
